LockDrive method   

Prevents media removal from the currently opened drive.

Return Type

A Boolean value.

Syntax

object.LockDrive

The LockDrive method syntax has these parts:

Part Description
object An expression evaluating to an object of type CDWriterXP.